package cn.codingstyle.exercise;

import lombok.Data;

@Data
public class User {
    private Integer id;
    private final String name;
    private final String lang;
    private String hobbies;
    private Boolean isLocked;

    public User(int id, String name, String lang, String hobbies) {
        this.id = id;
        this.name = name;
        this.lang = lang;
        this.hobbies = hobbies;
    }
}
